<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>极简风格简历</title>
  <style>
    /* 基础样式 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Helvetica Neue', Arial, sans-serif;
    }
    
    body {
      background-color: #f8f9fa;
      color: #343a40;
      line-height: 1.6;
      padding: 0;
      margin: 0;
      overflow-x: hidden;
    }
    
    .container {
      max-width: 900px;
      margin: 0 auto;
      padding: 0;
      background-color: #fff;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
    }
    
    /* 头部样式 */
    header {
      padding: 60px 50px;
      background-color: #212529;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    
    .header-content {
      position: relative;
      z-index: 2;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.8s forwards 0.2s;
    }
    
    .header-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #212529 0%, #343a40 100%);
      z-index: 1;
    }
    
    .header-shapes {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      opacity: 0.1;
    }
    
    .shape {
      position: absolute;
      background-color: #fff;
      border-radius: 50%;
    }
    
    .name {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -1px;
    }
    
    .title {
      font-size: 1.2rem;
      font-weight: 300;
      margin-bottom: 20px;
      color: #adb5bd;
    }
    
    .contact-info {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 30px;
    }
    
    .contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #ced4da;
      transition: color 0.3s;
    }
    
    .contact-item:hover {
      color: #fff;
    }
    
    /* 主要内容样式 */
    main {
      padding: 50px;
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 40px;
    }
    
    @media (max-width: 768px) {
      main {
        grid-template-columns: 1fr;
      }
    }
    
    .section {
      margin-bottom: 40px;
      opacity: 0;
      transform: translateY(20px);
    }
    
    .section-title {
      font-size: 1.2rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: #495057;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #e9ecef;
      position: relative;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 50px;
      height: 2px;
      background-color: #212529;
      transition: width 0.3s ease;
    }
    
    .section:hover .section-title::after {
      width: 100px;
    }
    
    /* 技能样式 */
    .skills-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .skill-item {
      background-color: #f1f3f5;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.9rem;
      transition: all 0.3s;
      cursor: default;
    }
    
    .skill-item:hover {
      background-color: #212529;
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    /* 经验样式 */
    .experience-item, .education-item {
      margin-bottom: 30px;
      position: relative;
      padding-left: 20px;
      border-left: 2px solid #e9ecef;
      transition: border-left 0.3s;
    }
    
    .experience-item:hover, .education-item:hover {
      border-left: 2px solid #212529;
    }
    
    .experience-title, .education-degree {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .experience-company, .education-school {
      font-size: 1rem;
      color: #6c757d;
      margin-bottom: 5px;
    }
    
    .experience-date, .education-date {
      font-size: 0.9rem;
      color: #adb5bd;
      margin-bottom: 10px;
    }
    
    .experience-description, .education-description {
      font-size: 0.95rem;
      color: #495057;
      line-height: 1.6;
    }
    
    /* 项目样式 */
    .project-item {
      margin-bottom: 25px;
      padding: 20px;
      border-radius: 5px;
      background-color: #f8f9fa;
      transition: all 0.3s;
    }
    
    .project-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
      background-color: #fff;
    }
    
    .project-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
    
    .project-tech {
      font-size: 0.9rem;
      color: #6c757d;
      margin-bottom: 10px;
    }
    
    .project-description {
      font-size: 0.95rem;
      color: #495057;
    }
    
    /* 动画效果 */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* 打印样式 */
    @media print {
      body {
        background-color: #fff;
      }
      
      .container {
        box-shadow: none;
        max-width: 100%;
      }
      
      .skill-item:hover {
        background-color: #f1f3f5;
        color: #343a40;
        transform: none;
        box-shadow: none;
      }
      
      .project-item:hover {
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
      }
      
      .experience-item:hover, .education-item:hover {
        border-left: 2px solid #e9ecef;
      }
    }
    
    /* 暗色模式切换按钮 */
    .theme-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #212529;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      transition: all 0.3s;
    }
    
    .theme-toggle:hover {
      transform: rotate(30deg);
    }
    
    /* 暗色模式样式 */
    body.dark-mode {
      background-color: #121212;
      color: #e0e0e0;
    }
    
    body.dark-mode .container {
      background-color: #1e1e1e;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }
    
    body.dark-mode header {
      background-color: #000;
    }
    
    body.dark-mode .header-bg {
      background: linear-gradient(135deg, #000 0%, #121212 100%);
    }
    
    body.dark-mode .section-title {
      color: #bdbdbd;
      border-bottom: 2px solid #333;
    }
    
    body.dark-mode .section-title::after {
      background-color: #fff;
    }
    
    body.dark-mode .skill-item {
      background-color: #333;
      color: #e0e0e0;
    }
    
    body.dark-mode .skill-item:hover {
      background-color: #fff;
      color: #121212;
    }
    
    body.dark-mode .experience-item, body.dark-mode .education-item {
      border-left: 2px solid #333;
    }
    
    body.dark-mode .experience-item:hover, body.dark-mode .education-item:hover {
      border-left: 2px solid #fff;
    }
    
    body.dark-mode .experience-company, body.dark-mode .education-school {
      color: #9e9e9e;
    }
    
    body.dark-mode .experience-date, body.dark-mode .education-date {
      color: #757575;
    }
    
    body.dark-mode .experience-description, body.dark-mode .education-description,
    body.dark-mode .project-description {
      color: #bdbdbd;
    }
    
    body.dark-mode .project-item {
      background-color: #2d2d2d;
    }
    
    body.dark-mode .project-item:hover {
      background-color: #333;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    body.dark-mode .project-tech {
      color: #9e9e9e;
    }
    
    body.dark-mode .theme-toggle {
      background-color: #fff;
      color: #121212;
    }
  </style>
</head>
<body>
  <div class="theme-toggle" id="themeToggle">🌓</div>
  
  <div class="container">
    <header>
      <div class="header-bg"></div>
      <div class="header-shapes" id="headerShapes"></div>
      <div class="header-content">
        <h1 class="name">张三</h1>
        <p class="title">全栈开发工程师</p>
        <div class="contact-info">
          <div class="contact-item">
            <span>📧</span>
            <span>zhangsan@example.com</span>
          </div>
          <div class="contact-item">
            <span>📱</span>
            <span>13812345678</span>
          </div>
          <div class="contact-item">
            <span>📍</span>
            <span>北京市海淀区</span>
          </div>
        </div>
      </div>
    </header>
    
    <main>
      <div class="left-column">
        <section class="section" id="skills">
          <h2 class="section-title">技能</h2>
          <div class="skills-list">
            <div class="skill-item">JavaScript</div>
            <div class="skill-item">HTML5</div>
            <div class="skill-item">CSS3</div>
            <div class="skill-item">Vue.js</div>
            <div class="skill-item">React</div>
            <div class="skill-item">Node.js</div>
            <div class="skill-item">Java</div>
            <div class="skill-item">Spring Boot</div>
            <div class="skill-item">MySQL</div>
            <div class="skill-item">MongoDB</div>
            <div class="skill-item">Docker</div>
            <div class="skill-item">Git</div>
          </div>
        </section>
        
        <section class="section" id="education">
          <h2 class="section-title">教育背景</h2>
          <div class="education-item">
            <h3 class="education-degree">计算机科学与技术 硕士</h3>
            <p class="education-school">北京大学</p>
            <p class="education-date">2018 - 2021</p>
            <p class="education-description">主修人工智能与数据分析，GPA 3.8/4.0，获得优秀毕业生称号。</p>
          </div>
          
          <div class="education-item">
            <h3 class="education-degree">软件工程 学士</h3>
            <p class="education-school">清华大学</p>
            <p class="education-date">2014 - 2018</p>
            <p class="education-description">主修软件开发与工程管理，GPA 3.7/4.0，获得三好学生称号。</p>
          </div>
        </section>
        
        <section class="section" id="languages">
          <h2 class="section-title">语言能力</h2>
          <div class="skills-list">
            <div class="skill-item">中文（母语）</div>
            <div class="skill-item">英语（流利）</div>
          </div>
        </section>
      </div>
      
      <div class="right-column">
        <section class="section" id="experience">
          <h2 class="section-title">工作经验</h2>
          <div class="experience-item">
            <h3 class="experience-title">高级全栈工程师</h3>
            <p class="experience-company">阿里巴巴</p>
            <p class="experience-date">2021年6月 - 至今</p>
            <p class="experience-description">
              负责公司核心业务系统的开发与维护，主导了电商平台的重构工作，提升了系统性能30%，优化了用户体验，减少了50%的页面加载时间，参与了微服务架构的设计与实现。
            </p>
          </div>
          
          <div class="experience-item">
            <h3 class="experience-title">前端开发工程师</h3>
            <p class="experience-company">腾讯</p>
            <p class="experience-date">2018年7月 - 2021年5月</p>
            <p class="experience-description">
              参与开发了多个内部工具和客户端应用，使用Vue.js和React框架构建高性能的Web应用，实现了组件化开发和自动化测试，负责前端架构的优化和性能调优。
            </p>
          </div>
        </section>
        
        <section class="section" id="projects">
          <h2 class="section-title">项目经验</h2>
          <div class="project-item">
            <h3 class="project-title">电商平台重构</h3>
            <p class="project-tech">Spring Boot + Vue + MySQL + Redis</p>
            <p class="project-description">
              作为技术负责人，带领团队完成了电商平台的全面重构，将单体应用拆分为微服务架构，提高了系统的可扩展性和稳定性，引入了Redis缓存和消息队列，优化了高并发场景下的性能，实现了前后端分离，提升了开发效率和用户体验。
            </p>
          </div>
          
          <div class="project-item">
            <h3 class="project-title">数据分析平台</h3>
            <p class="project-tech">Python + Django + React + ECharts</p>
            <p class="project-description">
              设计并开发了一个企业级数据分析平台，实现了数据的采集、清洗、分析和可视化展示，集成了机器学习算法，提供智能推荐和预测功能，开发了可定制的报表系统，满足不同业务部门的需求。该项目获得了公司年度最佳项目奖。
            </p>
          </div>
        </section>
      </div>
    </main>
  </div>

  <script>
    // 主题切换功能
    const themeToggle = document.getElementById('themeToggle');
    themeToggle.addEventListener('click', () => {
      document.body.classList.toggle('dark-mode');
      themeToggle.textContent = document.body.classList.contains('dark-mode') ? '🌞' : '🌓';
    });
    
    // 创建随机形状
    function createShapes() {
      const headerShapes = document.getElementById('headerShapes');
      const shapeCount = 20;
      
      for (let i = 0; i < shapeCount; i++) {
        const shape = document.createElement('div');
        shape.classList.add('shape');
        
        // 随机大小和位置
        const size = Math.random() * 100 + 50;
        const left = Math.random() * 100;
        const top = Math.random() * 100;
        
        shape.style.width = `${size}px`;
        shape.style.height = `${size}px`;
        shape.style.left = `${left}%`;
        shape.style.top = `${top}%`;
        
        headerShapes.appendChild(shape);
      }
    }
    
    // 滚动动画
    function animateSections() {
      const sections = document.querySelectorAll('.section');
      
      const observer = new IntersectionObserver((entries) => {
        entries.forEach(entry => {
          if (entry.isIntersecting) {
            entry.target.style.animation = 'fadeInUp 0.8s forwards';
            observer.unobserve(entry.target);
          }
        });
      }, { threshold: 0.1 });
      
      sections.forEach(section => {
        observer.observe(section);
      });
    }
    
    // 页面加载完成后执行
    window.addEventListener('load', () => {
      createShapes();
      animateSections();
    });
  </script>
</body>
</html>